using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsOutorderdetailTable : TableInfo
{
public const string C_TABLENAME = "Bs_Outorderdetail";

public const string C_DETAILID = "DETAILID";

public const string C_BILLID = "BILLID";

public const string C_MATTYPE = "MATTYPE";

public const string C_MATERIALID = "MATERIALID";

public const string C_SCHEDULEMATID = "SCHEDULEMATID";

public const string C_NUMS = "NUMS";

public const string C_REMARK = "REMARK";

public BsOutorderdetailTable()
{
_tableName = "Bs_Outorderdetail";
}

protected static BsOutorderdetailTable _current;
public static BsOutorderdetailTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsOutorderdetailTable();

_current.Add(C_DETAILID, new ColumnInfo(C_DETAILID, "", true, typeof(Decimal?)));

_current.Add(C_BILLID, new ColumnInfo(C_BILLID, "", false, typeof(String)));

_current.Add(C_MATTYPE, new ColumnInfo(C_MATTYPE, "", false, typeof(String)));

_current.Add(C_MATERIALID, new ColumnInfo(C_MATERIALID, "", false, typeof(String)));

_current.Add(C_SCHEDULEMATID, new ColumnInfo(C_SCHEDULEMATID, "", false, typeof(Decimal?)));

_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));

_current.Add(C_REMARK, new ColumnInfo(C_REMARK, "", false, typeof(String)));

}

public ColumnInfo DETAILID
{
get { return this[C_DETAILID]; }
}

public ColumnInfo BILLID
{
get { return this[C_BILLID]; }
}

public ColumnInfo MATTYPE
{
get { return this[C_MATTYPE]; }
}

public ColumnInfo MATERIALID
{
get { return this[C_MATERIALID]; }
}

public ColumnInfo SCHEDULEMATID
{
get { return this[C_SCHEDULEMATID]; }
}

public ColumnInfo NUMS
{
get { return this[C_NUMS]; }
}

public ColumnInfo REMARK
{
get { return this[C_REMARK]; }
}

}
}